From: Jasper St. Pierre Date: Mon, 17 Oct 2011 19:19:46 +0000 (-0400) Subject: Unmanage the screen before reexecing X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7422 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=577ccc4d561449c0cb367c3deb273261ed070d3e;p=gnome-shell.git Unmanage the screen before reexecing This ensures a 'clean shutdown' of mutter. https://bugzilla.gnome.org/show_bug.cgi?id=660848 --- diff --git a/src/shell-global.c b/src/shell-global.c index bf7b5a794..6aafcdbdf 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1122,6 +1122,10 @@ shell_global_reexec_self (ShellGlobal *global) */ pre_exec_close_fds (); + meta_display_unmanage_screen (shell_global_get_display (global), + shell_global_get_screen (global), + shell_global_get_current_time (global)); + execvp (arr->pdata[0], (char**)arr->pdata); g_warning ("failed to reexec: %s", g_strerror (errno)); g_ptr_array_free (arr, TRUE);